package com.example.serviceconsumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author sidian
 * @date 2020/11/14 15:26
 */
@FeignClient("service-provider")
public interface ApiController {
    @GetMapping("/user")
    String getUser();
}
